From 9b97bc24aed2d8a8ce1767f1faa49837307e5925 Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Sun, 20 Jan 2013 16:10:43 -0600 Subject: [PATCH] Add emacsVER-dbg, emacsVER-lucid-dbg, and emacsVER-nox-dbg packages. --- debian/control | 30 ++++++++++++++++++++++++++++++ debian/control.in | 30 ++++++++++++++++++++++++++++++ debian/rules | 7 +++++++ 3 files changed, 67 insertions(+) diff --git a/debian/control b/debian/control index 1a5bca07287..ea600bd5fb2 100644 --- a/debian/control +++ b/debian/control @@ -24,6 +24,16 @@ Description: GNU Emacs editor GNU Emacs is the extensible self-documenting text editor. This package contains a version of Emacs with a Lucid user interface. +Package: emacs24-lucid-dbg +Section: debug +Priority: extra +Architecture: any +Depends: emacs24-lucid-dbg (= ${binary:Version}), ${misc:Depends} +Description: Debugging symbols for emacs24-lucid + GNU Emacs is the extensible self-documenting text editor. This + package contains the debugging symbols for the version of Emacs with + a Lucid user interface. + Package: emacs24-nox Architecture: any Depends: emacs24-bin-common (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} @@ -35,6 +45,16 @@ Description: GNU Emacs editor (without X support) GNU Emacs is the extensible self-documenting text editor. This package contains a version of Emacs compiled without support for X. +Package: emacs24-nox-dbg +Section: debug +Priority: extra +Architecture: any +Depends: emacs24-nox-dbg (= ${binary:Version}), ${misc:Depends} +Description: Debugging symbols for emacs24-nox + GNU Emacs is the extensible self-documenting text editor. This + package contains the debugging symbols for a version of Emacs + compiled without support for X. + Package: emacs24 Architecture: any Depends: emacs24-bin-common (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} @@ -46,6 +66,16 @@ Description: GNU Emacs editor (with GTK+ user interface) GNU Emacs is the extensible self-documenting text editor. This package contains a version of Emacs with a GTK+ user interface. +Package: emacs24-dbg +Section: debug +Priority: extra +Architecture: any +Depends: emacs24-dbg (= ${binary:Version}), ${misc:Depends} +Description: Debugging symbols for emacs24 + GNU Emacs is the extensible self-documenting text editor. This + package contains the debugging symbols for a version of Emacs with a + GTK+ user interface. + Package: emacs24-bin-common Architecture: any Depends: emacs24-common (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends} diff --git a/debian/control.in b/debian/control.in index 43e8e78b6bc..e9124ea96e3 100644 --- a/debian/control.in +++ b/debian/control.in @@ -24,6 +24,16 @@ Description: GNU Emacs editor GNU Emacs is the extensible self-documenting text editor. This package contains a version of Emacs with a Lucid user interface. +Package: @DEB_FLAVOR@-lucid-dbg +Section: debug +Priority: extra +Architecture: any +Depends: @DEB_FLAVOR@-lucid-dbg (= ${binary:Version}), ${misc:Depends} +Description: Debugging symbols for @DEB_FLAVOR@-lucid + GNU Emacs is the extensible self-documenting text editor. This + package contains the debugging symbols for the version of Emacs with + a Lucid user interface. + Package: @DEB_FLAVOR@-nox Architecture: any Depends: @DEB_FLAVOR@-bin-common (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} @@ -35,6 +45,16 @@ Description: GNU Emacs editor (without X support) GNU Emacs is the extensible self-documenting text editor. This package contains a version of Emacs compiled without support for X. +Package: @DEB_FLAVOR@-nox-dbg +Section: debug +Priority: extra +Architecture: any +Depends: @DEB_FLAVOR@-nox-dbg (= ${binary:Version}), ${misc:Depends} +Description: Debugging symbols for @DEB_FLAVOR@-nox + GNU Emacs is the extensible self-documenting text editor. This + package contains the debugging symbols for a version of Emacs + compiled without support for X. + Package: @DEB_FLAVOR@ Architecture: any Depends: @DEB_FLAVOR@-bin-common (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} @@ -46,6 +66,16 @@ Description: GNU Emacs editor (with GTK+ user interface) GNU Emacs is the extensible self-documenting text editor. This package contains a version of Emacs with a GTK+ user interface. +Package: @DEB_FLAVOR@-dbg +Section: debug +Priority: extra +Architecture: any +Depends: @DEB_FLAVOR@-dbg (= ${binary:Version}), ${misc:Depends} +Description: Debugging symbols for @DEB_FLAVOR@ + GNU Emacs is the extensible self-documenting text editor. This + package contains the debugging symbols for a version of Emacs with a + GTK+ user interface. + Package: @DEB_FLAVOR@-bin-common Architecture: any Depends: @DEB_FLAVOR@-common (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends} diff --git a/debian/rules b/debian/rules index d6bc1f10ac9..b1601ad6f92 100755 --- a/debian/rules +++ b/debian/rules @@ -599,6 +599,13 @@ override_dh_auto_install: $(autogen_install_files) rm -rf $(install_dir_nox) rm -rf $(install_dir_lucid) +.PHONY: override_dh_strip +override_dh_strip: + dh_strip -p$(flavor) --dbg-package=$(flavor)-dbg + dh_strip -p$(flavor)-lucid --dbg-package=$(flavor)-lucid-dbg + dh_strip -p$(flavor)-nox --dbg-package=$(flavor)-nox-dbg + dh_strip + override_dh_testdir: $(testdir) -- 2.30.2